<%@page import="com.neiquan.backstage.pub.bsc.dao.po.Entrepreneur"%>
<%@page import="com.neiquan.backstage.resourec_manage.EntrepreneurService"%>
<%@page import="java.util.List"%>
<%@page import="com.neiquan.backstage.common.util.SpringContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
Integer entrepreneurId = Integer.valueOf(request.getParameter("entrepreneurId"));
ApplicationContext appCtx = SpringContextUtils.getApplicationContext();
EntrepreneurService entrepreneurService = appCtx.getBean(EntrepreneurService.class);
Entrepreneur entrepreneur = entrepreneurService.queryById(entrepreneurId);
pageContext.setAttribute("entrepreneur", entrepreneur);
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>查看详情</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/main.css" />
</head>
<body bgcolor="#f0f0f0">
		<section class="mt activesignup">
			<section class="tc">
					<section>
						<p class="addrvisitor-title pd">基本信息</p>
						<section class="line"></section>
						<section class="common_bg">
							<section class="perfect company-perfect pd">
								<p class="form-inpt-p">
									<label>团队/公司名称</label><input readonly="readonly" class="inpt" form="companyform" required name="name" type="text" value="${pageScope.entrepreneur.name}" />
								</p>
								<p class="form-inpt-p">
									<label class="logo-label">团队/公司LOGO</label>
									<span class="logo-right relative">
											<img class="company-img" src="${pageScope.entrepreneur.loge}" alt="" />
									</span>
								</p>
								<p class="form-inpt-p">
									<label class="vistor-instuct">团队/公司简介</label><textarea readonly="readonly" name="description" class="inpt vistor-instuct-text" form="companyform"  />"${pageScope.entrepreneur.description}"</textarea>
								</p>
							</section>
						</section>
					</section>
					<section class="common_bg mt">
						<p class="addrvisitor-title pd">联系信息</p>
						<section class="line"></section>
						<section>
							<section class="perfect pd">
								<p class="form-inpt-p">
									<label>联系人</label><input readonly="readonly" class="inpt" form="companyform" required name="linkman" type="text" value="${pageScope.entrepreneur.linkman}" />
								</p>
								<p class="form-inpt-p">
									<label>手机号</label><input readonly="readonly"  value="${pageScope.entrepreneur.phone}" class="inpt" form="companyform" required name="phone" type="tel" pattern="((\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$)"  />
								</p>
								<p class="form-inpt-p">
									<label>邮件</label><input readonly="readonly" value="${pageScope.entrepreneur.mail}" class="inpt" form="companyform" required name="mail" type="email"  />
								</p>
								<p class="form-inpt-p">
									<label>联系地址</label><input readonly="readonly"  value="${pageScope.entrepreneur.address}" class="inpt" form="companyform" required name="address" type="text"  />
								</p>
							</section>
						</section>
					</section>
			</section>
		</section>
</body>
<script>
	$(function(){
		var zhubajieH = $('.copyprint-top-right').height();
		$('.copyprint-top').height(zhubajieH);
		$('.copyprint-bottom').height(window.innerHeight - zhubajieH - 60);
	})
		</script>
<script src="js/jquery.min.js"></script>		
<script src="js/responsive.js"></script>
</html>
